//
//  ViewController.m
//  yuanyifei
//
//  Created by qiuhulong on 16/10/21.
//  Copyright © 2016年 chengbaoTeam. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor redColor];
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.backgroundColor = [UIColor yellowColor];
    button.frame = CGRectMake(100, 10, 100, 100);
    [self.view addSubview:button];
}


@end
